import request from '@/utils/request'

// 查询赛季列表
export function listPointsBoardSeason(query) {
  return request({
    url: '/study/pointsBoardSeason/list',
    method: 'get',
    params: query
  })
}

// 查询赛季详细
export function getPointsBoardSeason(id) {
  return request({
    url: '/study/pointsBoardSeason/' + id,
    method: 'get'
  })
}

// 新增赛季
export function addPointsBoardSeason(data) {
  return request({
    url: '/study/pointsBoardSeason',
    method: 'post',
    data: data
  })
}

// 修改赛季
export function updatePointsBoardSeason(data) {
  return request({
    url: '/study/pointsBoardSeason',
    method: 'put',
    data: data
  })
}

// 删除赛季
export function delPointsBoardSeason(id) {
  return request({
    url: '/study/pointsBoardSeason/' + id,
    method: 'delete'
  })
}
